﻿<!--
	@create by 
	@update by 
	@description 
-->
<div>
    <h3>节点配置</h3>
	<el-form-q :field-data="nodeQueryFields" :buttons="nodeQueryButtons"></el-form-q>
  <div class="yu-toolBar">
    <el-button-group>
      <el-button icon="plus" @click="addNodeFn" v-if="checkPermission('create')">新增</el-button>
      <el-button icon="edit" @click="modifyNodeFn" v-if="checkPermission('edit')">修改</el-button>
      <el-button icon="document" @click="infoNodeFn">查看</el-button>
      <el-button icon="yx-bin" @click="deleteNodeFn" v-if="checkPermission('delete')">删除</el-button>
    </el-button-group>
  </div>
  <el-table-x ref="nodeTable" :row-index="true" :radiobox="false" :base-params="nodeBaseParams"
        :data-url="nodeDataUrl" :table-columns="nodeTableColumns" :request-type="'POST'"></el-table-x>
  <!-- 说明dialog可配置宽高属性，若不配置则宽度默认为屏幕50%，高度自适应
     width="650px" height="380px" -->
  <el-dialog-x :title="viewTitle[nodeViewType]" :visible.sync="nodeDialogVisible" width="650px">
    <el-form-x ref="nodeForm"
           :group-fields="nodeUpdateFields" :buttons="nodeUpdateButtons"
           :disabled="nodeFormDisabled" label-width="140px"></el-form-x>
  </el-dialog-x>
</div>
